package util.AST.Terminal;

import checker.SemanticException;
import checker.Visitor;

public class Booleano extends Valor {
	
	
	public Booleano(String spelling, String tipo){
		super(spelling, tipo);
	}

	@Override
	public String toString(int level) {
		return "BOOL(" + this.getSpeling() + ")\n";
	}

	@Override
	public Object visit(Visitor v, Object o) throws SemanticException {
		return v.visitBooleano(this, o);
	}
	
}
